package com.ajr.core;

import java.util.HashMap;

public class OrderDetails {
	HashMap detailsMap = new HashMap();
	
	public void add(String className,double value) {
		detailsMap.put(className, value);
	}

	public double get(String className) {
		if(detailsMap.containsKey(className)) {
			return (Double)detailsMap.get(className);
		}
		return 0;
	}
	
	public String toString() {
		return String.valueOf(detailsMap);
	}
	
}
